package com.example.demozy.client;

import com.example.demozy.entity.HistoryModel;
import feign.Param;
import feign.RequestLine;

import java.util.List;

/**
 * @author 王成龙
 */
public interface SinaClient {

    @RequestLine("GET /json_v2.php/CN_MarketData.getKLineData?symbol={code}&ma=5&datalen=1023&scale=60")
    List<HistoryModel> queryStock(@Param("code") String code);
}
